<?php
//  ------------------------------------------------------------------------ //
//                         BOOX - MODULE FOR XOOPS 2                         //
//                  Copyright (c) 2005-2006 Instant Zero                     //
//                     <http://xoops.instant-zero.com/>                      //
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
$modversion['name'] = _MI_BOOX_NAME;
$modversion['version'] = 1.2;
$modversion['description'] = _MI_BOOX_DESC;
$modversion['credits'] = 'wilson';
$modversion['author'] = 'Instant Zero - http://xoops.instant-zero.com';
$modversion['help'] = '';
$modversion['license'] = 'GPL';
$modversion['official'] = 0;
$modversion['image'] = 'images/boox_logo.jpg';
$modversion['dirname'] = 'boox';

$modversion['sqlfile']['mysql'] = '';


// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = 'admin/index.php';
$modversion['adminmenu'] = '';

// Templates

// Blocks

// Menu
$modversion['hasMain'] = 0;

// Search
$modversion['hasSearch'] = 0;

// Comments
$modversion['hasComments'] = 0;


/**
 * Where do you want to save your files ?
 */
$i=0;
$modversion['config'][$i]['name'] = 'foldertosave';
$modversion['config'][$i]['title'] = '_MI_BOOX_OPT0';
$modversion['config'][$i]['description'] = '_MI_BOOX_OPT0_DSC';
$modversion['config'][$i]['formtype'] = 'textbox';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['default'] = XOOPS_UPLOAD_PATH;

/**
 * Wich editor to use ?
 */
$i++;
$modversion['config'][$i]['name'] = 'form_options';
$modversion['config'][$i]['title'] = "_MI_BOOX_FORM_OPTIONS";
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'select';
$modversion['config'][$i]['valuetype'] = 'text';
$modversion['config'][$i]['default'] = 'dhtml';
$modversion['config'][$i]['options'] = array(
											_MI_BOOX_FORM_DHTML => 'dhtml',
											_MI_BOOX_FORM_COMPACT => 'textarea',
											_MI_BOOX_FORM_SPAW => 'spaw',
											_MI_BOOX_FORM_HTMLAREA => 'htmlarea',
											_MI_BOOX_FORM_KOIVI => 'koivi',
											_MI_BOOX_FORM_FCK => 'fck',
											_MI_BOOX_FORM_TINYEDITOR => 'tinyeditor'
											);


$i++;
$modversion['config'][$i]['name'] = 'trimcontent';
$modversion['config'][$i]['title'] = '_MI_BOOX_OPT1';
$modversion['config'][$i]['description'] = '_MI_BOOX_OP1_DSC';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = 0;


// Notifications
$modversion['hasNotification'] = 0;
?>
